package org.fintool.beans;

import java.util.Date;

public class Tick {


	private double open;
	private double close;
	private double high;
	private double low;
	private double price ;
	private long volume;
	private Date dateTime;
	private String comment;
	private String dayMark;
	private int calculatedDayofWeek;

	private double percentageDiff;
	private double percentageDiffOpenMax;

	private double percentageDiffOpenLow;

	private double percentageDiffPrevGainMax;
	private double percentageDiffPrevNegativeMax;



	private double percentageDiffPrevGainOnClose;

	private double percentageDiffLastMaxVsOpen;

	private double percentageDiffLastLowVsOpen;

	private double percentageDiffAtOpen;

	private double percentageDiffMaxDay;

	public String toString() {
		// TODO Auto-generated method stub
	//	return super.toString();
		return dayMark+","+open+","+close+","+high+","+low+","+percentageDiff+","+percentageDiffOpenMax+","+percentageDiffOpenLow+","+percentageDiffPrevGainMax+","+percentageDiffPrevGainOnClose+","+percentageDiffMaxDay+","+percentageDiffAtOpen;
	}








	public int getCalculatedDayofWeek() {
		return calculatedDayofWeek;
	}
	public void setCalculatedDayofWeek(int calculatedDayofWeek) {
		this.calculatedDayofWeek = calculatedDayofWeek;
	}
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}
	public double getOpen() {
		return open;
	}
	public void setOpen(double open) {
		this.open = open;
	}
	public double getClose() {
		return close;
	}
	public void setClose(double close) {
		this.close = close;
	}
	public double getHigh() {
		return high;
	}
	public void setHigh(double high) {
		this.high = high;
	}
	public double getLow() {
		return low;
	}
	public void setLow(double low) {
		this.low = low;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public long getVolume() {
		return volume;
	}
	public void setVolume(long volume) {
		this.volume = volume;
	}
	public Date getDateTime() {
		return dateTime;
	}
	public void setDateTime(Date dateTime) {
		this.dateTime = dateTime;
	}



	public String getDayMark() {
		return dayMark;
	}
	public void setDayMark(String dayMark) {
		this.dayMark = dayMark;
	}
	public double getPercentageDiff() {
		return percentageDiff;
	}
	public void setPercentageDiff(double percentageDiff) {
		this.percentageDiff = percentageDiff;
	}
	public double getPercentageDiffOpenMax() {
		return percentageDiffOpenMax;
	}
	public void setPercentageDiffOpenMax(double percentageDiffOpenMax) {
		this.percentageDiffOpenMax = percentageDiffOpenMax;
	}
	public double getPercentageDiffPrevGainMax() {
		return percentageDiffPrevGainMax;
	}
	public void setPercentageDiffPrevGainMax(double percentageDiffPrevGainMax) {
		this.percentageDiffPrevGainMax = percentageDiffPrevGainMax;
	}
	public double getPercentageDiffPrevGainOnClose() {
		return percentageDiffPrevGainOnClose;
	}
	public void setPercentageDiffPrevGainOnClose(
			double percentageDiffPrevGainOnClose) {
		this.percentageDiffPrevGainOnClose = percentageDiffPrevGainOnClose;
	}








	public double getPercentageDiffAtOpen() {
		return percentageDiffAtOpen;
	}








	public void setPercentageDiffAtOpen(double percentageDiffAtOpen) {
		this.percentageDiffAtOpen = percentageDiffAtOpen;
	}








	public double getPercentageDiffMaxDay() {
		return percentageDiffMaxDay;
	}








	public void setPercentageDiffMaxDay(double percentageDiffMaxDay) {
		this.percentageDiffMaxDay = percentageDiffMaxDay;
	}








	public double getPercentageDiffOpenLow() {
		return percentageDiffOpenLow;
	}








	public void setPercentageDiffOpenLow(double percentageDiffOpenLow) {
		this.percentageDiffOpenLow = percentageDiffOpenLow;
	}








	public double getPercentageDiffPrevNegativeMax() {
		return percentageDiffPrevNegativeMax;
	}








	public void setPercentageDiffPrevNegativeMax(
			double percentageDiffPrevNegativeMax) {
		this.percentageDiffPrevNegativeMax = percentageDiffPrevNegativeMax;
	}








	public double getPercentageDiffLastMaxVsOpen() {
		return percentageDiffLastMaxVsOpen;
	}








	public void setPercentageDiffLastMaxVsOpen(double percentageDiffLastMaxVsOpen) {
		this.percentageDiffLastMaxVsOpen = percentageDiffLastMaxVsOpen;
	}








	public double getPercentageDiffLastLowVsOpen() {
		return percentageDiffLastLowVsOpen;
	}








	public void setPercentageDiffLastLowVsOpen(double percentageDiffLastLowVsOpen) {
		this.percentageDiffLastLowVsOpen = percentageDiffLastLowVsOpen;
	}


}
